package com.stnet.entity;

import java.util.Date;

/**
 * Directorder entity. @author MyEclipse Persistence Tools
 */

public class Directorder implements java.io.Serializable {

	// Fields

	private Long id;
	private String no;
	private Long amount;
	private String state;
	private Users user;
	private Long SUser;
	
	private Date editetime;
	private String phoneState;
	private String paymentState;
	private String comments;
	private Double discount;
	private String outtradeid;

	// Constructors

	/** default constructor */
	public Directorder() {
	}

	/** full constructor */
	public Directorder(String no, Long amount, String state, Users user,
			Long SUser) {
		this.no = no;
		this.amount = amount;
		this.state = state;
		this.user = user;
		this.SUser = SUser;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getNo() {
		return this.no;
	}

	public void setNo(String no) {
		this.no = no;
	}

	public Long getAmount() {
		return this.amount;
	}

	public void setAmount(Long amount) {
		this.amount = amount;
	}

	public String getState() {
		return this.state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public Users getUser() {
		return this.user;
	}

	public void setUser(Users user) {
		this.user = user;
	}

	public Long getSUser() {
		return this.SUser;
	}

	public void setSUser(Long SUser) {
		this.SUser = SUser;
	}

	public Date getEditetime() {
		return this.editetime;
	}

	public void setEditetime(Date editetime) {
		this.editetime = editetime;
	}

	public String getPhoneState() {
		return this.phoneState;
	}

	public void setPhoneState(String phoneState) {
		this.phoneState = phoneState;
	}

	public String getPaymentState() {
		return this.paymentState;
	}

	public void setPaymentState(String paymentState) {
		this.paymentState = paymentState;
	}

	public String getComments() {
		return this.comments;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}

	public Double getDiscount() {
		return this.discount;
	}

	public void setDiscount(Double discount) {
		this.discount = discount;
	}

	public String getOuttradeid() {
		return outtradeid;
	}

	public void setOuttradeid(String outtradeid) {
		this.outtradeid = outtradeid;
	}
	

}